<div class="layui-form" lay-filter="layuiadmin-form-useradmin" style="padding: 20px 0 0 0;">
  <div class="layui-form-item">
    <label class="layui-form-label">物流公司</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="logisticsCompany" value="{{ d.params.logisticsCompany || '' }}" lay-verify="logisticsCompany" placeholder=""  autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item" hidden>
    <label class="layui-form-label">orderId</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="orderId" value="{{ d.params.orderId || '' }}" lay-verify="orderId" placeholder=""  autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">物流订单号</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="logisticsNum" value="{{ d.params.logisticsNum || '' }}" lay-verify="logisticsNum" placeholder="" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-inline">
      <input type="button" lay-submit lay-filter="LAY-user-front-submit" value="确认" class="layui-btn">
    </div>
  </div>
  
</div>

<script>
layui.use(['jquery'],function(){
  var $ = layui.jquery;
})



layui.use(['admin', 'form', 'upload'], function(){
  var $ = layui.$
  ,form = layui.form
  ,setter = layui.setter
  ,upload = layui.upload;
  
  //上传头像
  upload.render({
    elem: '#layuiadmin-upload-useradmin'
    ,url: setter.myurl + 'admin/uploadMainPicture'
    ,accept: 'images'
    ,method: 'post'
    ,acceptMime: 'image/*'
    ,done: function(res){
      console.log(res)
      $(".mainPiccls").val(res.data);
      $(this.item).prev("div").children("input").val(res.data)
    }
  });
})


</script>